namespace hjc {

	export type ViewConfigs = {
		showMode?: ShowMode,	//展示动画方式
		hideMode?: HideMode,	//隐藏动画方式
		centered?: boolean,		//居中
		closeAll?: boolean,		//转场时关闭所有面板和对话框
		backColor?: color,		//背景颜色
		backAlpha?: number,		//背景透明度
		backClose?: boolean,	//背景点击视为关闭
		exclusive?: boolean,	//排他性(弹出时清除其他所有)
		multi?: boolean,		//多例(同种对话框同时展现多个实例)
		alert?: boolean,		//警告框
	}

	export type ViewOptions = {
		title?: string,
		content?: string,
		alert?: boolean,
	}
}